package utn.frba.matematicasuperior.controladores;

import javafx.fxml.FXML;
import javafx.scene.control.Button;
import utn.frba.matematicasuperior.main.Main;
import utn.frba.matematicasuperior.utiles.Controlador;

public class RootControlador implements Controlador {

	@FXML
	private Button btnSalir;

	private Main main;

	public Button getBtnSalir() {
		return btnSalir;
	}

	public void setBtnSalir(Button btnSalir) {
		this.btnSalir = btnSalir;
	}

	public Main getMain() {
		return main;
	}

	public void setMain(Main mainApp) {
		this.main = mainApp;
	}

	@FXML
	private void handleSalir() {
		System.exit(0);
	}

}
